<?php

?>

<div class="row">
  <ul class="nav nav-pills">
    
    <li><a href="<?php echo $this->createUrl('update',array('id'=>$model->id)) ?>">修改</a></li>
    <li>
      <a href="<?php echo $this->createUrl('index') ?>">返回</a>
    </li>
  </ul>
</div>
<div class="row">
	<div class="container">
		<h4 class="text-center"><?php echo  $model->title ?></h4>
		<hr/>
		<p class="muted text-center"><span class="text-info"><?php echo $model->user->username ?></span>&nbsp;&nbsp;发布于<?php echo Date('Y-m-d H:i',$model->createtime) ?>&nbsp;&nbsp;查看数:<?php echo $model->views ?>&nbsp;&nbsp;评论数:<?php echo $model->comments ?>&nbsp;&nbsp;标签:<?php echo $model->tag ?></p>

		<p>
			<?php echo $model->summary ?>

		</p>

		<p>
			<?php echo $model->content ?>
		</p>
	</div>
	
</div>


